package model;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Order {
    private String orderNo;

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    private String gName;



    private Integer gId;
    private Integer id;
    private Integer buyCount;
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getPreStatus() {
        return preStatus;
    }

    public void setPreStatus(Integer preStatus) {
        this.preStatus = preStatus;
    }

    private Integer preStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    private BigDecimal totalMoney;
    private BigDecimal gPrice;

    public Integer getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Integer buyCount) {
        this.buyCount = buyCount;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getgPrice() {
        return gPrice;
    }

    public void setgPrice(BigDecimal gPrice) {
        this.gPrice = gPrice;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    private Integer uId;
    private String uName;
    private Integer pageNo=1;
    private Integer rowCount=8;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getRowCount() {
        return rowCount;
    }

    public void setRowCount(Integer rowCount) {
        this.rowCount = rowCount;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }



    public Order() {
    }

    private BigDecimal orderMoney;
    private Integer orderStatus;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNo='" + orderNo + '\'' +
                ", gName='" + gName + '\'' +
                ", gId=" + gId +
                ", id=" + id +
                ", buyCount=" + buyCount +
                ", imgUrl='" + imgUrl + '\'' +
                ", preStatus=" + preStatus +
                ", totalMoney=" + totalMoney +
                ", gPrice=" + gPrice +
                ", uId=" + uId +
                ", uName='" + uName + '\'' +
                ", pageNo=" + pageNo +
                ", rowCount=" + rowCount +
                ", orderMoney=" + orderMoney +
                ", orderStatus=" + orderStatus +
                ", createTime='" + createTime + '\'' +
                '}';
    }

    private String createTime;
}
